Fix minor problems found by static checking.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2013 23:04:10 +0000 (15:04 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Dec 2013 23:04:10 +0000 (15:04 -0800)
commit9377f904bbdd1cd2dc52009b0d22dcf0c4834962
tree66590be758ce44e528ae78dd2ad42dedecf2c264
parent9d4f4d00978ceed46c4c30fe41c258716f9e042e
Fix minor problems found by static checking.

* keyboard.c (poll_for_input_1, input_polling_used):
Define only if HAVE_NTGUI.
* xmenu.c (popup_activate_callback): Omit unnecessary
check against USE_X_TOOLKIT, which must be defined here anyway.
* xterm.c, xterm.h (x_dispatch_event) [! (USE_X_TOOLKIT || USE_MOTIF)]:
Now static.
src/ChangeLog
src/keyboard.c
src/xmenu.c
src/xterm.c
src/xterm.h